package com.zh.user.controller;

import cn.hutool.core.map.MapUtil;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @ClassName TestArr
 * @date: 2021.04.19 17:13
 * @Author: zhanghang
 */
public class TestArr {
    public static void main(String[] args) {
        Map<String,Object> map = new HashMap<>();
        String str = MapUtil.getStr(map, "str");
        String[] split = str.split(",");
        List<String> strings = Arrays.asList(split);
        System.out.println(strings);
    }
}
